const { getBannerList, updateBanner } = require("../dao/bannerDao");

module.exports.getBannerList = async function () {
  return await getBannerList()
}
module.exports.updateBanner = async function (bannerList) {
  await updateBanner(bannerList)
  return await getBannerList()
}